Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor: Avoid some repetition in to_timestamp #11116

Merged
merged 1 commit into from
Jun 25, 2024
Merged

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Jun 24, 2024

Which issue does this PR close?

N/A

Rationale for this change

Implement suggestion from @comphead in #11038 (comment)

may be we can factor this out? the same block is too repetitive

What changes are included in this PR?

  1. Factor repetition into a new function

Are these changes tested?

Existing CI tests

Are there any user-facing changes?

@alamb alamb marked this pull request as ready for review June 24, 2024 23:20
Copy link
Contributor

@comphead comphead left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @alamb

@comphead comphead merged commit 58e2904 into apache:main Jun 25, 2024
23 checks passed
@alamb alamb deleted the alamb/dry branch June 26, 2024 00:13
findepi pushed a commit to findepi/datafusion that referenced this pull request Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants